#ifndef _UserLevelLayer_H_
#define _UserLevelLayer_H_

#include "LevelScene.h"
#include "UserLevelView.h"

class UserLevelLayer : public LevelScene
{
public:
	UserLevelLayer();
	virtual ~UserLevelLayer();


	static UserLevelLayer* create(const char* levelFile, const LevelInfo& levelInfo);
	bool init(const char* levelFile, const LevelInfo& levelInfo);

	void update(float dt);

	virtual void successed();
	virtual void failed();

	void menuItemClick(CCObject* sender);
protected:
	std::string m_levelFile;
	LevelInfo	m_levelInfo;
private:
};
#endif